package com.szy.mvp_demo.mvp_m;

import com.szy.mvp_demo.Entity.MessageListEntity;
import com.szy.mvp_demo.mvp_p.OnDataSuccedListener;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/1/22 0022.
 */

public class MessageListModelBJ implements BaseListModel {
    @Override
    public void loadData(OnDataSuccedListener listener) {
        List<MessageListEntity> data = new ArrayList<>();
        data.add(new MessageListEntity("北京", "2017-10-11", "今日北京有大到暴雪", "http://p5.so.qhimgs1.com/bdr/326__/t01a4264c0272e3883b.jpg"));
        data.add(new MessageListEntity("北京", "2017-10-11", "今日北京有大到暴雪", "http://p5.so.qhimgs1.com/bdr/326__/t01a4264c0272e3883b.jpg"));
        data.add(new MessageListEntity("北京", "2017-10-11", "今日北京有大到暴雪", "http://p5.so.qhimgs1.com/bdr/326__/t01a4264c0272e3883b.jpg"));
        data.add(new MessageListEntity("北京", "2017-10-11", "今日北京有大到暴雪", "http://p5.so.qhimgs1.com/bdr/326__/t01a4264c0272e3883b.jpg"));
        data.add(new MessageListEntity("北京", "2017-10-11", "今日北京有大到暴雪", "http://p5.so.qhimgs1.com/bdr/326__/t01a4264c0272e3883b.jpg"));
        listener.upDataView(data);
    }
}
